<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="../css/bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<link href="../css/bootstrap-theme.min.css" rel="stylesheet"
	media="screen">
<link href="../css/website.css" rel="stylesheet" media="screen">
<script src="http://code.jquery.com/jquery.js"></script>
<script src="../js/bootstrap.min.js"></script>
</head>
<body>
	<!-- Button trigger modal 頁面按鈕-->
	<button class="btn btn-info" data-toggle="modal" data-target="#myModal">店家資訊回報</button>

	<!-- Modal 按下去才會顯示的內容-->
	<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
					<h4 class="modal-title" id="myModalLabel">回報店家資訊內容</h4>
				</div>
				<div class="modal-body">
					<form action="<c:url value='/admin/shop/updateshop.controller'/>"
						class="form-horizontal" role="form">
						<div class="form-group">
							<label for="inputName" class="col-sm-2 control-label">店家ID</label>
							<div class="col-sm-10">
								<input type="text" value="${bean.shopId}" name="shopId"
									class="form-control">
							</div>
						</div>	
						<div class="form-group">
							<label for="inputName" class="col-sm-2 control-label">會員ID</label>
							<div class="col-sm-10">
								<input type="text" value="${user.memId}" name="memId"
									class="form-control">
							</div>
						</div>
						<div class="form-group">
							<label for="inputName" class="col-sm-2 control-label">店家更新回報內容</label>
							<div class="col-sm-10">
								<textarea class="form-control" rows="5" name="updateContent"></textarea>
							</div>
						</div>
						<!-- dialog buttons -->
						<div class="modal-footer">
							<button type="button" class="btn btn-default"
								data-dismiss="modal">關閉</button>
							<button type="submit" name="production" value="Insert"
								class="btn btn-primary btn-success">確認回報</button>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
	<!-- End Modal 按下去才會顯示的內容-->

</body>
</html>